package com.baox.agridata.synchronous.dao;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.abutment.XDRBaseDataEntity;
import com.baox.agridata.synchronous.entity.abutment.XDRCertificateEntity;
import com.baox.agridata.synchronous.entity.abutment.XDRHarmlessEntity;
import com.baox.agridata.synchronous.entity.abutment.XDRLiveStockMarketEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 推送省厅数据的mapper
 */
@Mapper
public interface LocalPushDataToScAgricultureMapper {


    /**
     * 基础数据的查询推送
     *
     * @return
     */
    @DS("sichuanc")
    List<XDRBaseDataEntity> selectBaseDataToScAgriculture();


    /**
     * 推送无害化数据
     *
     * @return
     */
    @DS("sichuanc")
    List<XDRHarmlessEntity> selectHarmlessData();


    /**
     * 推送交易市场的数据
     *
     * @return
     */
    @DS("sichuanc")
    List<XDRLiveStockMarketEntity> selectLiveStockMarketData();


    /**
     * 推送检疫证数据
     *
     * @return
     */
    @DS("sichuanc")
    List<XDRCertificateEntity> selectCertificateData();

    /**
     * 推送出省的数据
     *
     * @return
     */
    @DS("sichuanc")
    List<XDRCertificateEntity> selectOutProvinceData();

    /**
     * 推送入省的数据
     *
     * @return
     */
    @DS("sichuanc")
    List<XDRCertificateEntity> selectInProvinceData();


}
